/**
 * Copyright (C), 2015-2018, 北京译泰教育科技有限公司
 * FileName: Handler
 * Author:   andy
 * Date:     18/1/28 下午1:06
 * Description: ${DESCRIPTION}
 * History:
 */
package org.smart4j.framework.bean;

import java.lang.reflect.Method;

/**
 * 封装Action信息<br>
 *
 * @author andy
 * @version V1.0
 * @date 18/1/28 下午1:06
 */
public class Handler {

    /**
     * controller类
     */
    private Class<?> controllerClass;

    /**
     * Action方法
     */
    private Method actionMethod;

    public Handler(Class<?> controllerClass, Method actionMethod) {
        this.controllerClass = controllerClass;
        this.actionMethod = actionMethod;
    }

    public Class<?> getControllerClass() {
        return controllerClass;
    }

    public void setControllerClass(Class<?> controllerClass) {
        this.controllerClass = controllerClass;
    }

    public Method getActionMethod() {
        return actionMethod;
    }

    public void setActionMethod(Method actionMethod) {
        this.actionMethod = actionMethod;
    }
}
